
<div class="col-ab picList" id="artMain">
    <div class="guide-nav">
        @include('home.pendant.breadBar')
    </div>
    <div class="artCon">
        <ul class="clearfix">
            @foreach($lists as $key => $obj)
            <li>
                <i class="iPic">
                    <a href="{{config('app.url')}}/article/{{$obj['id']}}" title="{{$obj['title']}}">
                        <img src="{{$obj['path']}}!/both/280x210" alt="{{$obj['title']}}" width="280">
                    </a>
                </i>
                <i class="iTxt">
                    <span class="sTit">
                        <em class="eTit">
                            <a href="{{config('app.url')}}/article/{{$obj['id']}}" target="_blank" title="{{$obj['title']}}">
                                {{$obj['title']}}
                            </a>
                        </em>
                        <br>
                        <em class="eTime">2017-02-08</em>
                    </span>
                    <span class="sDes">{!! $obj['description'] !!}
                        <a href="{{config('app.url')}}/article/{{$obj['id']}}">查看全文&gt;&gt;</a>
                    </span>
                    {{--SEO Label--}}{{--
                    <span class="sLab">
                        <a rel="nofollow" href="{{config('app.url')}}/?q=下巴长痘痘是什么原因" target="_blank">
                            下巴长痘痘是什么原因
                        </a>&nbsp;
                        &nbsp;&nbsp;<a href="{{config('app.url')}}" target="_blank">
                            下巴长痘痘怎么办
                        </a>&nbsp;&nbsp;&nbsp;
                        <a rel="nofollow" href="{{config('app.url')}}/?q=如何去痘痘" target="_blank">
                            如何去痘痘
                        </a>
                    </span>--}}

                </i>
            </li>
            @endforeach
        </ul>
        <div class="artPages">
            <div class="pclady_page">
                @if($currentPage > 1)
                    <a target="_self" href="{{$currentUrl}}/{{$currentPage - 1}}" class="prev">上一页</a>
                @endif

                @if($PageMax > 9 )
                    @if($currentPage > 6)
                        <a target="_self" href="{{$currentUrl}}">1</a>...
                        @for($i = 3;$i>0;$i--)
                            <a target="_self" href="{{$currentUrl}}/{{$currentPage - $i}}">{{$currentPage - $i}}</a>
                        @endfor
                        <span>{{$currentPage}}</span>
                        @for($j = 1;$j<4;$j++)
                                @if(($currentPage +$j) < $PageMax)
                                    <a target="_self"
                                       href="{{$currentUrl}}/{{$currentPage + $j}}">{{$currentPage + $j}}</a>
                                @endif
                        @endfor
                    @else
                        @for($p = 1;$p<9;$p++)
                            @if($currentPage == $p)
                                <span>{{$p}}</span>
                            @else
                                <a target="_self" href="{{$currentUrl}}/{{$p}}">{{$p}}</a>
                            @endif
                        @endfor
                    @endif

                @else
                    @for($p = 1;$p<=$PageMax;$p++)
                        @if($currentPage == $p)
                            <span>{{$p}}</span>
                        @else
                            <a target="_self" href="{{$currentUrl}}/{{$p}}">{{$p}}</a>
                        @endif
                    @endfor
                @endif
                @if($PageMax > 8 && $currentPage < $PageMax)...
                <a target="_self" href="{{$currentUrl}}/{{$PageMax}}">{{$PageMax}}</a>
                @endif

                @if($PageMax > 1 && $currentPage < $PageMax)
                    <a target="_self" href="{{$currentUrl}}/{{$currentPage + 1}}" class="next">下一页</a>
                @endif
            </div>
        </div>
    </div>
    <div class="uk-width-1-1 uk-container-center uk-margin-large-bottom uk-visible-large">
        <ul class="uk-pagination"
            data-uk-pagination="{items:100, itemsOnPage:10, currentPage:2,displayedPages:5}"></ul>
    </div>
    <div class="keyMode">
        <p class="keyWord fs-14">
            关键词：<a href="http://beauty.pclady.com.cn/zxzq/hfp/">护肤品</a>&nbsp;&nbsp;&nbsp;
            <a rel="nofollow" href="{{config('app.url')}}/?q=护肤方法">护肤方法</a>&nbsp;
            &nbsp;&nbsp;<a href="http://www.pclady.com.cn/tlist/75535.html">如何护肤</a>
        </p>

    </div>
</div>